<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: dongsong
  Date: 2021/7/20
  Time: 0:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
  <%
      request.setAttribute("height",150);
  %>
<c:choose>
    <c:when test="${requestScope.height>190}">
     小巨人
    </c:when>
    <c:when test="${requestScope.height>180}">
        很高
    </c:when>
    <c:when test="${requestScope.height>170}">
        还可以
    </c:when>
    <c:otherwise>
        你真丑
    </c:otherwise>
</c:choose>
</body>
</html>
